-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: rename sendUserAttributeVerificationCode #3759
feat: rename sendUserAttributeVerificationCode #3759
Conversation
); | ||
|
||
@Deprecated('Use sendUserAttributeVerificationCode.') | ||
Future<SendUserAttributeVerificationCodeResult> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep the types the same for this method to avoid breaking anyone using them
packages/auth/amplify_auth_cognito/example/integration_test/user_attributes_test.dart
Show resolved
Hide resolved
required AuthUserAttributeKey userAttributeKey, | ||
SendUserAttributeVerificationCodeOptions? options, | ||
}) { | ||
throw UnimplementedError( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep this non-breaking can we have the default impl call resend?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would this change be breaking? Maybe I am missing something.
} | ||
|
||
@Deprecated(_deprecatedMessage) | ||
// ignore: public_member_api_docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we macro the docs?
} | ||
|
||
@Deprecated('Use CognitoSendUserAttributeVerificationCodePluginOptions') | ||
// ignore: public_member_api_docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we macro the docs?
.../amplify_core/lib/src/types/auth/attribute/send_user_attribute_verification_code_result.dart
Show resolved
Hide resolved
629019d
to
74b749c
Compare
* feat: rename sendUserAttributeVerificationCode * fix: include deprecated category API * chore: add test, docs updates
### Features - feat: rename sendUserAttributeVerificationCode ([#3759](#3759)) ### Fixes - fix(aft): Small fixes ([#3838](#3838)) - fix(analytics): allow nullable userProfile - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](#3999)) - fix(auth): use loadCredentials to check login state - fix(authenticator): Beta channel fixes ([#3835](#3835)) - fix(authenticator): fix validate before trim bug ([#3809](#3809)) - fix(authenticator): use getCurrentUser to check sign in state - fix(pub): ignore templates folder during analysis ([#4009](#4009)) - fix(smithy): defines Output type to fix beta tests ([#3963](#3963)) - fix: catch and log updateEndpoint error during configure ([#3985](#3985)) - fix: remove exception during token timeout ([#3939](#3939)) ### Breaking Changes - fix(smithy_aws)!: do not sign optional requests Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
### Features - feat: rename sendUserAttributeVerificationCode ([#3759](#3759)) ### Fixes - fix(aft): Small fixes ([#3838](#3838)) - fix(analytics): allow nullable userProfile - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](#3999)) - fix(auth): use loadCredentials to check login state - fix(authenticator): Beta channel fixes ([#3835](#3835)) - fix(authenticator): fix validate before trim bug ([#3809](#3809)) - fix(authenticator): use getCurrentUser to check sign in state - fix(pub): ignore templates folder during analysis ([#4009](#4009)) - fix(smithy): defines Output type to fix beta tests ([#3963](#3963)) - fix: catch and log updateEndpoint error during configure ([#3985](#3985)) - fix: remove exception during token timeout ([#3939](#3939)) ### Breaking Changes - fix(smithy_aws)!: do not sign optional requests Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
* feat: rename sendUserAttributeVerificationCode * fix: include deprecated category API * chore: add test, docs updates
### Features - feat: rename sendUserAttributeVerificationCode ([#3759](#3759)) ### Fixes - fix(aft): Small fixes ([#3838](#3838)) - fix(analytics): allow nullable userProfile - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](#3999)) - fix(auth): use loadCredentials to check login state - fix(authenticator): Beta channel fixes ([#3835](#3835)) - fix(authenticator): fix validate before trim bug ([#3809](#3809)) - fix(authenticator): use getCurrentUser to check sign in state - fix(pub): ignore templates folder during analysis ([#4009](#4009)) - fix(smithy): defines Output type to fix beta tests ([#3963](#3963)) - fix: catch and log updateEndpoint error during configure ([#3985](#3985)) - fix: remove exception during token timeout ([#3939](#3939)) ### Breaking Changes - fix(smithy_aws)!: do not sign optional requests Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
- feat: rename sendUserAttributeVerificationCode ([#3759](#3759)) - fix(aft): Small fixes ([#3838](#3838)) - fix(analytics): allow nullable userProfile - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](#3999)) - fix(auth): use loadCredentials to check login state - fix(authenticator): Beta channel fixes ([#3835](#3835)) - fix(authenticator): fix validate before trim bug ([#3809](#3809)) - fix(authenticator): use getCurrentUser to check sign in state - fix(pub): ignore templates folder during analysis ([#4009](#4009)) - fix(smithy): defines Output type to fix beta tests ([#3963](#3963)) - fix: catch and log updateEndpoint error during configure ([#3985](#3985)) - fix: remove exception during token timeout ([#3939](#3939)) - fix(smithy_aws)!: do not sign optional requests Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee
* chore(version): Bump version - feat: rename sendUserAttributeVerificationCode ([#3759](#3759)) - fix(aft): Small fixes ([#3838](#3838)) - fix(analytics): allow nullable userProfile - fix(analytics): event client flush events to do not discard events from cache on auth exception ([#3999](#3999)) - fix(auth): use loadCredentials to check login state - fix(authenticator): Beta channel fixes ([#3835](#3835)) - fix(authenticator): fix validate before trim bug ([#3809](#3809)) - fix(authenticator): use getCurrentUser to check sign in state - fix(pub): ignore templates folder during analysis ([#4009](#4009)) - fix(smithy): defines Output type to fix beta tests ([#3963](#3963)) - fix: catch and log updateEndpoint error during configure ([#3985](#3985)) - fix: remove exception during token timeout ([#3939](#3939)) - fix(smithy_aws)!: do not sign optional requests Updated-Components: amplify_lints, Amplify Flutter, Amplify Dart, Amplify UI, DB Common, Secure Storage, AWS Common, Smithy, Worker Bee * fix: slide smithy_codegen window * fix: added drop dep
Issue #, if available: #3756
Description of changes:
sendUserAttributeVerificationCode
and associated classes in place ofresendUserAttributeConfirmationCode
resendUserAttributeConfirmationCode
and associated classesBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.